projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
208447f
)
only update version header as needed
author
Mike Frysinger
<
[email protected]
>
Mon, 4 Feb 2008 22:44:23 +0000
(17:44 -0500)
committer
Wolfgang Denk
<
[email protected]
>
Thu, 14 Feb 2008 22:43:24 +0000
(23:43 +0100)
Constantly rebuilding the version header will force useless relinking, so we
simply need to compare the new header with the existing one before updating
it.
Signed-off-by: Mike Frysinger <
[email protected]
>
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 9225a2d3503506d1c783f94c248dc0958977de18..969ce42ec06266767ef179ac00e051e937220a4c 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-343,7
+343,8
@@
$(VERSION_FILE):
echo -n "$(U_BOOT_VERSION)" ; \
echo -n $(shell $(CONFIG_SHELL) $(TOPDIR)/tools/setlocalversion \
$(TOPDIR)) ; \
- echo "\"" ) > $(VERSION_FILE)
+ echo "\"" ) >
[email protected]
+ @cmp -s $@
[email protected]
&& rm -f
[email protected]
|| mv -f
[email protected]
$@
gdbtools:
$(MAKE) -C tools/gdb all || exit 1